export const WHITE_LIST = [
  { name: 'notFound', children: [] },
  { name: 'login', children: [] },
];

export const NOT_FOUND = {
  name: 'notFound',
};

export const REDIRECT_ROUTE_NAME = 'Redirect';

export const DEFAULT_ROUTE_NAME = 'Workplace';

export const DEFAULT_ROUTE = {
  title: 'menu.dashboard.workplace',
  name: DEFAULT_ROUTE_NAME,
  fullPath: '/dashboard/workplace',
};


const componentMap: any = {
  system: {
    userManagement: import('@/views/system/userManagement/index.vue'),
    roleManagement: import('@/views/system/roleManagement/index.vue'),
    button: import('@/views/system/button/index.vue'),
    menuManagement: import('@/views/system/menuManagement/index.vue'),
    img: import('@/views/system/img/index.vue'),
  },
  institution: {
    case: import('@/views/institution/case/index.vue'),
    video: import('@/views/institution/video/index.vue'),
    institutionManagement: import('@/views/institution/institution/index.vue'),
    regulations: import('@/views/institution/regulations/index.vue'),
    service: import('@/views/institution/service/index.vue'),
  },
  assist:{
    file:import('@/views/assist/file/index.vue'),
    user:import('@/views/assist/user/index.vue'),
  },
  fair:{
    institution_file:import('@/views/fair/publicize/index.vue'),
    
  },
  impartial:{
    impartialUser:import('@/views/impartial/user/index.vue'),
  },
  mediators:{
    mediatorsUser:import('@/views/mediators/user/index.vue'),
  
  },
};

export default componentMap